package com.ctshk.rpc.order.goods.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *  门票订单
 * </p>
 *
 * @author 李新科
 * @date 2021/5/27 20:39
 */
@Data
@ApiModel(value="门票订单DTO实体")
public class ScenicOrderEsDTO implements Serializable {

    @ApiModelProperty(value = "门票-产品名称")
    private String productName;

    @ApiModelProperty(value = "门票-门票数")
    private Integer ticketNum;

    @ApiModelProperty(value = "门票-有效期起始")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime vaildDayBegin;

    @ApiModelProperty(value = "门票-有效期截至")
    @JsonFormat(pattern = "MM-dd")
    private LocalDateTime vaildDayEnd;
}
